﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Eacademy.Domain.Models;

namespace Eacademy.Domain.Abstractions
{
    public interface ILessonRepository
    {
        List<AdminLessonsViewModel> GetLessonsBySubjectId(int subjectId, int mentorUserId,int pageIndex, int pageSize, out int totalCount,
                                                          bool count = true);

        AdminLessonsViewModel GetLessonByLessonId(int id);
        Boolean DeleteLesson(int lessonId);
        Boolean UpdateLesson(AdminLessonsViewModel adminLessonsViewModel);
        Boolean AddLesson(AdminLessonsViewModel adminLessonsViewModel, int subjectId, int mentorId);
    }
}